package com.woniu.supermarket.service.impl;

import com.woniu.supermarket.entity.PurchaseReturnCheck;
import com.woniu.supermarket.mapper.PurchaseReturnCheckMapper;
import com.woniu.supermarket.service.IPurchaseReturnCheckService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PurchaseReturnCheckServiceImpl implements IPurchaseReturnCheckService {


    @Autowired
    PurchaseReturnCheckMapper purchaseReturnCheckMapper;

    @Override
    public List<PurchaseReturnCheck> findPurchaseReturnCheckByCode(String code) {
        return purchaseReturnCheckMapper.selectPurchaseReturnCheckByCode(code);
    }
}
